import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import initModal from "@/components/show-modal/initModal.js"
import showModal from "@/components/show-modal/show-modal.vue"
import { parseTime, handleTree} from "@/utils/ruoyi";
// import axios from 'axios'



initModal(Vue);
Vue.component('show-modal',showModal);

Vue.use(plugins)

Vue.config.productionTip = false
Vue.prototype.$store = store
// Vue.prototype.$axios = axios
App.mpType = 'app'
//全局方法挂载
Vue.prototype.handleTree = handleTree
const app = new Vue({
  ...App
})

app.$mount()
